home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / btrieve / btfiler / btpack.bat < prev    next >
DOS Batch File  |  1996-07-10  |  437b  |  19 lines

  1. echo off
  2. if '%1' == '' goto NO_PARMS
  3. goto OK
  4. :NO_PARMS
  5. echo USAGE: BTPACK file_to_pack
  6. goto END
  7. :OK
  8. rem
  9. rem 'P' to choose Pack on opening menu, %1 the Btrieve file, '!' for ENTER,
  10. rem    '###' for ESC's.
  11. rem
  12. rem Remember that if more than one person on a network are using this, a
  13. rem    temporary file with a unique file name should be created.
  14. rem
  15. echo P%1!!### >btpack.txt
  16. btfiler /k:btpack.txt
  17. del btpack.txt
  18. :END
  19.